<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分页</title>
<#include "/include/common.ftl">
</head>
<body>
<div class="col-md-6">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">分页来了</h3>
        </div>
        <div class="panel-body">
            <div id="content">

            </div>
        </div>
    </div>
</div>
</body>
</html>
<script>
    function ajaxPageList(p) {
        $.ajax({
            url: '/page/list.htm',
            type: 'post',
            dataType: 'html',
            data: {'pageNum': p},
            success: function (data) {
                $("#content").html("").html(data);
            }, error: function (data) {

            }
        })
    }

    ajaxPageList(1);
</script>